package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point a = new Point();
        a.setx(5);
        a.sety(6);
        System.out.println(a.getx()+","+a.gety());
    }
}
